//
//  BCPerson.h
//  StudyISA
//
//  Created by Shine on 2020/10/28.
//  Copyright © 2020 YW. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BCPerson : NSObject
//不用属性存值来模拟三个bool属性的形式，且只用内存的一个字节空间。原本三个属性是需要占用3个字节空间

- (void)setTall:(BOOL)tall;
- (void)setRich:(BOOL)rich;
- (void)setHandsome:(BOOL)handsome;

- (BOOL)isTall;
- (BOOL)isRich;
- (BOOL)isHandsome;
@end

NS_ASSUME_NONNULL_END
